package pers.whj.util.tree;

public interface AVLTree<T extends Comparable<T>> extends BinarySearchTree<T> {
    /**
     * get the balance factor of this tree
     *
     * @return the balance factor
     */
    int getBalanceFactor();

    int getBalanceFactor(T data);
}